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