Fix git bash detection and path to the tar file (#271)