--- ./dnf/cli/cli.py_orig	2025-09-25 07:11:22.956922722 -0500
+++ ./dnf/cli/cli.py	2025-09-25 07:11:54.671049457 -0500
@@ -246,7 +246,7 @@
                                       "commonly modify these directories."))
             else:
                 # Not a bootc transaction.
-                if self.conf.persistence == "transient":
+                if self.conf.persistdir == "transient":
                     raise CliError(_("Transient transactions are only supported on bootc systems."))
 
             if self._promptWanted():
