fixed JENKINS-21527 issue

https://issues.jenkins-ci.org/browse/JENKINS-21527
Merge pull request #24 from shinstudio/master

fixed JENKINS-21527 issue