MDL-39343 install: ensure empty caches on install