Return empty array when no valid cachefile exists instead of exception