remove unneeded ternaries

The env call will always return a value unless there's a
misconfiguration of the app in general