Fix for null pointer in settings manager buildTree:

Fixes https://github.com/geonetwork/core-geonetwork/issues/681