protect cli from git config failure