Fix bug where environments could not be used with chef-solo