fix broken RHEL conditional

== can only be used with [[ ]] style conditionals.