Avoid regenerating the ref path for the environment
The ref_path would regenerate a new slug each time, leading to nil deployment references.
Closes #39752 (closed)
The ref_path would regenerate a new slug each time, leading to nil deployment references.
Closes #39752 (closed)