hg-to-git: handle an empty dir in hg.