Fix segfault when calling git_config_get_* functions when a config fails to load

Reinitialize the result code of get_entry() to GIT_ENOTFOUND
Merge pull request #2059 from linquize/git_config_get_crash

Fix segfault when calling git_config_get_* functions when a config fails to load