remote-hg: ensure remote rebasing works