This should not be this difficult.

Now checking for the property existence and otherwise using the
environment variable.