Fix type comparison of ssh_key_import