Refine check that prevented CentOS from installing

During 2d1ef0c8 a check was introduced that was RedHat specific.
The condition of the check were not specific enough and applied to
CentOS preventing it to install. This commit specifies that this check
is for RedHat only.