fixed regression introduced in f63269d9c2e243888cc9e2e680d94c2c2342b336, JENKINS-25401