Fix issue https://github.com/nodegit/nodegit/issues/83