avoid listing an empty dir without __XLDIR__ (#11427)
avoid listing an empty dir without __XLDIR__ (#11427)

```
minio server /tmp/disk{1...4}
mc mb myminio/testbucket/
mkdir -p /tmp/disk{1..4}/testbucket/test-prefix/
```

This would end up being listed in the current
master, this PR fixes this situation.

If a directory is a leaf dir we should it
being listed, since it cannot be deleted anymore
with DeleteObject, DeleteObjects() API calls
because we natively support directories now.

Avoid listing it and let healing purge this folder
eventually in the background.
balamurugana/minio,balamurugana/minio,krisis/minio,vadmeste/minio,minio/minio,krisis/minio,donatello/minio,NitishT/minio,NitishT/minio,vadmeste/minio,donatello/minio,NitishT/minio,NitishT/minio,minio/minio