Fixed Dependency resolving in PluginLoader