Fix minor regression in default cache logic since Infinispan 6.0 upgrade.