small fix for #197

#197 has a problem with Mercurial SCM. fixed here.