[FIXED JENKINS-22582] Do a null-check to prevent failing form submission.
Merge pull request #2 from wolfs/null-check

[FIXED JENKINS-22582] Do a null-check to prevent failing form submission