fix handling of environment variables whose values contain an equals sign