Fix error caused by missing username or email in gitconfig files