update CentOS and RedHat support.  Updated to case statement
and check for OS's we don't support so it stops earlier.

Change-Id: I7ecf526777a8b6615bbfa85c9576f3c3941838e6