Further simplify ssh location guessing logic

Now handles case where "cmd" directory is in the path instead of "bin"
directory.

Now handles case where git executable is declared as "git", or
"git.exe", or "git.cmd" and will use the parent of any one of those
files as located from the PATH variable.

Does not handle the case where the git executable is in the current
working directory.