improve error message when no libgit2 was found