Fix hg poller command so it does not fail on smaller repos