[Pluginmanager] Fix crash when at startup when preloading plugins

A directory 'plugins' can be created at the root of the binary
directory to load automatically plugins fro it