test_git: don't delete ~/.ssh/known_hosts during test

This test is included in the non_destructive suite, but when I ran it I
found it had deleted my known_hosts, which is certainly destructive.

Avoid that by using custom ssh configuration for those tests which need
to run with an empty known_hosts file.