Fixes a regression in dependency graph generation