Make sure that we check if GEOGIT_DATASTORE_NAME is defined before checking its value
Ongoing work in LayerInfo.js