fixes #2342 converting to ::osfamily to support redhat based distributions globally