Bug fix to CentOS check