Change to how SCM is determined
Change to how SCM is determined

Change SCM determination from executing git/hg commands to explicit
in URL.

Fix check for already installed dependencies

thaim/ansible,thaim/ansible