Initialize self.known_hosts as None to avoid uncaught AttributeError