Fix soongdbg deps

Test: soongdbg deps framework-platform-compat-config
Change-Id: I8a49e0f4efbd0ef68d5ae7fb403166c046112322
diff --git a/bin/soongdbg b/bin/soongdbg
index 024f0fd..a4c2398 100755
--- a/bin/soongdbg
+++ b/bin/soongdbg
@@ -288,7 +288,7 @@
         graph = load_graph()
         nodes = set()
         err = False
-        for id in sys.argv[3:]:
+        for id in args.module:
             root = graph.nodes.get(id)
             if not root:
                 sys.stderr.write(f"error: Can't find root: {id}\n")
@@ -330,7 +330,6 @@
                 print()
 
 
-
 class QueryCommand:
     help = "Query details about modules"