Don't get a PluginManager from random places.