Fix git credential API compatibility with current release of git-credential-osxkeychain.