Fixed a bug where a newly installed plugin will fail because it tries to uninstall the plugin first.  Now we check if the plugin is installed before uninstalling