Prevent uninstallation of active theme re issue #522