1377 - Blacklist dependencies from SCM tracking

Git excludes dependencies from commit. 
Mercurial just shows a warning because it doesn't support excludes on commits. Just hgignore
with an if else statement is ok? I imagine like `if repo_types is type git: git.ignore, else hg.ignore`