fixed JENKINS-21527 issue

https://issues.jenkins-ci.org/browse/JENKINS-21527

This is the first time submitting update via forking so please let me know if this request does not follow the forking standard.

Thanks.