Removing @Exported from getRepositories() since it does not work anyway.
RemoteConfig, being in JGit, is not an @ExportedBean.
Stapler throws NotExportableException, but Property.writeValue ignores it since it is part of a list.
Thus regardless of how the SCM is configured, you always get the useless
    "repositories" : [
      {
        
      }
    ],