match <group>:<artifact> before <artifact>

Bug: 76088091
Test: ./update_current.py -s 4675010

Change-Id: I60a4a5135a9720f2f29e2e830772d68a7c4c4199
diff --git a/update_current/update_current.py b/update_current/update_current.py
index 9b00e45..8315572 100755
--- a/update_current/update_current.py
+++ b/update_current/update_current.py
@@ -301,10 +301,10 @@
 
                     # Find the mapping.
                     group_artifact = group_id + ':' + artifact_id
-                    if artifact_id in maven_to_make:
-                        key = artifact_id
-                    elif group_artifact in maven_to_make:
+                    if group_artifact in maven_to_make:
                         key = group_artifact
+                    elif artifact_id in maven_to_make:
+                        key = artifact_id
                     else:
                         print_e('Failed to find artifact mapping for ' + group_artifact)
                         continue