The change ensures there's at least one file before creating a zip archive, to avoid creating an empty cache.
To ensure no-ops like these make no cache.
#38852 (closed)