Don't strcmp a git_buf, strcmp its char *
Merge pull request #2086 from ethomson/fixup

Don't strcmp a git_buf, strcmp its char *