If host_key_checking is disabled, do not call .not_in_host_file() and code cleanup