diff --git a/salt/modules/pacman.py b/salt/modules/pacman.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pacman.py
+++ b/salt/modules/pacman.py
@@ -78,6 +78,14 @@ def latest_version(*names, **kwargs):
         except (ValueError, IndexError):
             pass
 
+    pkgs = {}
+
+    for name in names:
+        if not ret[name]:
+            if not pkgs:
+                pkgs = list_pkgs()
+            if name in pkgs:
+                ret[name] = pkgs[name]
     # Return a string if only one package name passed
     if len(names) == 1:
         return ret[names[0]]
Return locally installed version if no newer is available