Use same implementation as ssh.py for "is in host file" checks in module code, prevents git module from adding keys more than once.