scm: mercurial: fix unit model test fails if hg command is unavailable.
Authored by: tmaruyama 2011-05-05
Parent: [r5648]
Child: [r5650]