diff --git a/strix/report/state.py b/strix/report/state.py index 91a601cb..529594e7 100644 --- a/strix/report/state.py +++ b/strix/report/state.py @@ -397,9 +397,13 @@ class ReportState: self.end_time = None self.scan_results = None self.final_scan_result = None - backend_name = load_settings().runtime.backend - use_bind_mounts = backend_supports_bind_mounts(backend_name) and not load_settings().runtime.require_mount_free - transport = "bind-mount" if use_bind_mounts else "mount-free" + local_sources = config.get("local_sources", []) + if not local_sources: + transport = None + else: + backend_name = load_settings().runtime.backend + use_bind_mounts = backend_supports_bind_mounts(backend_name) and not load_settings().runtime.require_mount_free + transport = "bind-mount" if use_bind_mounts else "mount-free" self.run_record.update( {