Fix checking for openshift