The ref_path would regenerate a new slug each time, leading to nil deployment references.
ref_path
nil
Closes #39752 (closed)