Attempt to fix before hook failures without affecting anything else.