bobthefish: hg: faster checking for hg repo (fix)