fix configdir for PluginManager object