Update git download strategy to provide .git information more reliably

Update error messages