Gets a non-required value from an environment variable or a passed value,
prefering the passed value.
- Parameters:
-
- Returns:
- The passed value if provided, otherwise the value from the environment variable.
If no value is found, returns an empty string.
- Return type:
str