Fixes exception that fires when config_get() is called and user has no .gitconfig
Merge pull request #13651 from spsoit/fixes_states_git_config_first_call

Fixes exception in states.git.config()