_artifactcache.py: Don't push artifact blobs when no files are present
Description
When we are missing a shell, no file nor directory will be created in the resulting artifact. Trying to push this artifact used to fail since we would not handle this correctly.
This fixes the problem and adds a test to ensure it doesn't regress.
Fix #1145 (closed)
Edited by Benjamin Schubert