Fix error in rhel6 detection