Fix compatibility with Mercurial 3.2

This fixes issue #27.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/felipec/git-remote-hg/28)
<!-- Reviewable:end -->

What is this for? I commented out this part and it still works fine for me. Could you refer to the Mercurial changeset/documentation which prompted for this change?