fix bug when known_hosts doesn't exist