Git regression correction for Ubuntu update.

USN-7626-1 introduced a regression in Git