We pass a list of file nodes to that function but some can be invalid because
they were read from a cache which was corrupted.
This patches catches LookupError which is being raised because of invalid
fnodes, builds a set of such nodes and return it to the callers.
In next patch, we will add logic to update cache in such cases.