depgraph: fix logic in code for bug 345979
1 file changed