[FIXED JENKINS-7285] Fix regression from 1.536

https://issues.jenkins-ci.org/browse/JENKINS-7285