If there is a SubversionSCM located in the global configuration page, it...

... will throw a null pointer exception. This is a fix for the SCM Sync plugin.