Fixes #4849 - Hammer fails silently when no cache is generated