JENKINS-18750 - Fix possible NPE in build graph if build doesn't yet have a result

#resolve #comment should be fixed in v1.3