I'd rather see this as a nullable char and pass `\0` to libgit2 when it's indeed null.