Updated os_family check to use file existence checking instead of uname checks