Plugin should be uninstalled from database before deleting files.

When files are gone, we no longer know what the plugin actually was.