Small refactoring in Geonetwork class.