opscode-cookbooks/apt — pull request #74 by fh (2014-04-04 08:50:48+00:00)
Title: Bugfix: Use empty PATH if PATH is nil

Using AWS Opsworks with Chef 11.10 has a nil `ENV['PATH']`, so `which` fails on split. This sets an empty PATH variable if it is nil.

See also: https://tickets.opscode.com/browse/CHEF-4358