Add error checking in GeoMOOSE.changeLayerVisibility.

Handle case where the layerPath points to an undefined map-source.