Fix condition to run the test_restricted_updates_repo

PROD-36134

Change-Id: Ied60b92b287466ebc3b0f22dbcf3a662125df7da
(cherry picked from commit 89f2d7c9a9f663e658e6c3df21fa28f125d70255)
diff --git a/test_set/cvp-sanity/tests/test_packet_checker.py b/test_set/cvp-sanity/tests/test_packet_checker.py
index 53ddee6..0b574cf 100644
--- a/test_set/cvp-sanity/tests/test_packet_checker.py
+++ b/test_set/cvp-sanity/tests/test_packet_checker.py
@@ -191,7 +191,7 @@
 def test_restricted_updates_repo(local_salt_client):
     restricted_repo_enabled = local_salt_client.pillar_get(
         tgt="I@salt:master",
-        param='_param:updates_mirantis_version',
+        param='_param:updates_mirantis_login',
         expr_form='compound')
     if not restricted_repo_enabled:
         pytest.skip("This env doesn't required the restricted ubuntu repo")
@@ -201,7 +201,7 @@
         param="apt-cache policy |grep updates.mirantis.com"
         )
 
-    assert all(repos_by_nodes.values()), \
+    assert all(list(repos_by_nodes.values())), \
         "Next nodes don't have updates.mirantis.com in sources.list: {}".\
             format({node for node, repo
                    in repos_by_nodes.items()