Improved rhel6 detection by using operatingsystemrelease fact.

I didn't notice the other pull request related to rhel6 detection before writing this fix. It seems others were not happy with the redhat-lsb dependencies as well.

I'm offering this as an alternative to the other pull request, if desired.