Make cobbler properly detect the os version for CentOS 7. (reverted from commit f9cf24a56dfd00fec95ca3e5bf73300874557cd7)