Fix NPE with Jenkins 1.535
Merge pull request #77 from agudian/master

Fix NPE with Jenkins 1.535