Since CentOS 6.5 doesn't contain the string centos in /etc/issues, I added the check for /etc/redhat-release