remote-hg: improve --dry-run test

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: fix test for old versions of Mercurial

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>