git-test: fix reachability test.

reachability test didn't work if both commits being tested had diverged from a common base point.

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>