Revert "fixes #2342 converting to ::osfamily to support redhat based distros"

This reverts commit b057e51387fe8e9ee7939feda22b8ddba720e865.