Better support for finding git install directory