diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -202,7 +202,7 @@ def info_available(*names, **kwargs):
         names = sorted(list(set(names)))
 
     # Refresh db before extracting the latest package
-    if kwargs.pop('refresh', True):
+    if kwargs.get('refresh', True):
         refresh_db()
 
     pkg_info = []
do not change kwargs in refresh while checking a value