fixed null pointer when no metadata is configured
Merge branch 'wms-authority-url-support' into pdok