managePlugins takes care of the repository