UID of rocky user is cached under /var/tmp/dnf-1000-cj9l15vj

We change the default user from rocky to cloud-user ,we del the rocky user and traces and we bake the image.
But we see temporary dnf log files generated with UID of rocky user when instances are created.
ls -ltr /var/tmp
total 0
drwx------ 3 1000 1000 94 May 2 16:21 dnf-1000-cj9l15vj
For now we delete these folder as part of our STIG compliance .

How can we get rid of this temporary dnf files generated with rocky GUID. Any suggestions will help us