Add additional safety checks when obtaining metadata from GeoTools WFS Client.