Manual cherrypick of 47150: Protect file metadata reading against files that have no entries
We need to deal sometimes with empty POOL files and they do not contain a complete metadata. Addresses ticket:ATR-24336
We need to deal sometimes with empty POOL files and they do not contain a complete metadata. Addresses ticket:ATR-24336