I need a component inside the PluginSourceFactory so I need it to be declared in a plugin. I duplicated it for the moment.
The bug happened during a sitemap mount, because the environment is initialized with the wrong manager.