Remove pre-install-cmd hook, because it cannot be run at this point.