A trailing-slash prefix list enumerates the directory's children; AWS
answers empty when the directory holds no keys. The empty-directory
marker surfaced the directory itself -- as a Contents key first, as a
CommonPrefix since the delimited case was reworked -- so a client that
reads every returned key or prefix (Pulumi's lock listing, Terraform
state) treats the leftover directory as an object and fails on it.
Drop the marker: the probe now returns nothing, matching AWS. Directory
key objects written by PutObject "dir/" still list as keys, and a
non-empty directory is still represented by its children.