Sidenote: we should avoid `git_strarray_free` on the pathspec if we never actually filled it in.