Fix OpenShift deployment hooks.