fixed distro detection for rhel