Give a proper error message when the hg repo is not known