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
Ah, now I see, thank you. Anyway, in that case a simple `in` comparison is not enough. Consider a dependency in `modules/foo`, for example, and an existing `.git/info/exclude` file with containing e.g. the following line: `some/other/modules/foo`. That would match, despite being incorrect. I believe we should handle that more specifically to avoid any issues like that.