[JENKINS-22679] Populate promotion environment with parent job parameters

Fix for JENKINS-2267 bug introduced in version 2.17. After the fix promotion environment is properly initialized with parent job parameters, which is crucial for promotion actions triggering parameterized builds.