fix(Hostinfo): login.defs checks for os.type()