Add support for RHEL 7 Public Beta and add getsub/checktype functions