Check if a plugin is already installed; switch to updating if it is.

The alternative would be to issue an exception.
Unknown variable.
Check that plugin is installed before uninstalling.
Changed import and find methods to protected.