--- title: fixes last_deployment call environment is nil merge_request: 7671 author: