remote-hg: make test work in dash

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