Better RHEL optionals repository detection.