public void stopService() {
   // mainly important in testing to blank this
   lastPluginDir = INITIAL_PLUGIN_DIR;
   if (CurrentConfig.getBooleanParam(PARAM_CLEAR_DIR_MAP, DEFAULT_CLEAR_DIR_MAP)) {
     // This should be in RepositoryManager.stopService()
     localRepositories = new HashMap();
   }
   super.stopService();
 }