The libgit2 was wrong. Fixed.