Improved autodetect_git_path test

Still more work to be done