Correctly detect mercurial repos using lawrencium
Enable branch extension when vcscommand is available