Fix call to libgit2

it closes https://github.com/cloudson/gitql/issues/15