[FIXED JENKINS-25946] Build environment contributed by extension points ...

...is overriden by slave variables

[JENKINS-25946](https://issues.jenkins-ci.org/browse/JENKINS-25946)