Avoid NME deep inside WMS configuration call

This might happen because of a corrupted catalog.