Fix JENKINS-20660 - null pointer exception on first run after upgrade 0.8 to 0.9

Fix JENKINS-20660 - null pointer exception for any job which uses an XShell build step and was defined prior to 0.9.