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
Please use `os.path.relpath()` here as well, in order to ensure that the `ignore_path` is relative to the `repo` path.