Global dependencies were only added when a local dependency was defined!

SCOPING! Fixes #51