Fix regression if cache file doesn't exist