Guard git config calls. Closes: #717957
releasing version 1.6