Skip invalid fileserver cache entries

This fixes #13836
Merge pull request #13837 from makinacorpus/bug

Skip invalid fileserver cache entries