Fix crash in LoadEnvironment with Empty Strings