DependencyGraph: Don't choke on recursive import.