[FIXED JENKINS-19314] Don't poll if last checkout has not completed