revert post checkout hook