[JENKINS-18683] Jenkins 1.522 config changes cannot be saved

Fixed NullPointerException (URLTrigger.java:268) whilst saving project configuration.