opscode/chef — pull request #1168 by stevendanna (2013-12-05 18:34:15+00:00)
Title: [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.