Added getEnvWithDefault