I think that you should ignore my wall of text, since it's pretty dumb.  But the tl;dr is:  why don't we `if (level != GIT_LEVEL_TRACE) return;` here to avoid trying to process any strings I might throw in at a `DEBUG` level in a private build of libgit2.