read-cache.c: extend make_cache_entry refresh flag with options