NXP-9053 - fix error mgt for git config commands