fixed regression introduced in f63269d9c2e243888cc9e2e680d94c2c2342b336, JENKINS-25401
Merge pull request #33 from daspilker/JENKINS-25401

[JENKINS-25401] fixed regression