[CHEF-3075] Allow 1 character environment names.

String#chop will remove the last character of a string, preventing
single-character environment names.  String#chomp removes the last
character only if it is the record separator.