[FIXED JENKINS-22828] Expect an AbstractProject for input validation.
Merge pull request #36 from daniel-beck/JENKINS-22828

[FIXED JENKINS-22828] Expect an AbstractProject for input validation.