[JENKINS-17248] Robustness against NPE, unless and until root issue is diagnosed, or people start running with patched XStream.
In case of NPE, save a backup of configuration file.
Merge pull request #4 from jglick/NPE-JENKINS-17248

[JENKINS-17248] Robustness against NPE