gitcfg: Fix gitcmds test by clearing the cache key during reset()