simplify cache-formats fallback check