[UpdateManager] Fix removePlugins method