remote-hg: get rid of unused exception checks