Solve problem with special mercurial repos in pip module

Solve problem with special mercurial repos in pip module