Fix for checking environment variable when the variable is not set

Apparently never came up in testing, String#blank? is a Rails method, not a standard Ruby one.