Make env() helper case insensitive

If not, then please keep the blank lines before the return statement.