Removed unnecessary code from get_os()