make rhos-release function to check only the major version of rhel