scripts/feeds: fix a bug in the metadata caching change