use vcstools to detect scm type