Added error checking for Configs#mergeExternalConfigs
Changed name of environmental variable