[JENKINS-17807] Fix NPE on building with certain other plugins installed

Fixes https://issues.jenkins-ci.org/browse/JENKINS-17807
Merge pull request #10 from rayarub/master

[JENKINS-17807] Fix NPE caused by configuration being changed while a build is happening and current build not having a result yet.