[FIXED JENKINS-17313] fixed issue when saving while running

added code to check for a null build Result when crawling the AbstractBuilds in a project