opscode/chef — pull request #1169 by stevendanna (2013-12-05 19:41:57+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.