Updated OS family check

Switched OS family identification from a `uname -a` check to a file existence check on `/etc/debian_version`. Default behavior is the same as before, choosing RedHat if check fails.