diff --git a/tests/containers.py b/tests/containers.py
index b033fddf8d111d279c5db1192f8707d08a8e3c31..40328caf61168552b88c57c4db78d7537268b345 100755
--- a/tests/containers.py
+++ b/tests/containers.py
@@ -207,9 +207,6 @@ class TestContainers(BaseTest):
 
             for multiarch in ('i386-linux-gnu', 'x86_64-linux-gnu'):
                 for tool in ('capsule-capture-libs', 'capsule-symbols'):
-                    exe = multiarch + '-' + tool
-                    tool_path = os.path.join(cls.pv_dir, 'bin', exe)
-
                     exe = multiarch + '-' + tool
                     tool_path = os.path.join(cls.pv_dir, 'bin', exe)
                     found = shutil.which(exe)