[JENKINS-16417]

Follow up fix as pointed out by Daniel Beck.