Fixed another error while implementing JENKINS-23533