Fixes a bug in graph creation for unknown dependencies