distro: fix detect_distro for rhel7.0 beta.