Bugfix to CentOS check