Add tests demonstrating issue #2774
Skip non-local dependencies more rigourously
Merge branch 'master' into skip-non-local-deps
Merge pull request #3026 from mvz/skip-non-local-deps

Skip non-local dependencies when running with --local