Change ENV instead of uninstall executable-hooks

Uninstallation is too fragile.  Maybe we can disable it through ENV
modification instead.