berks cookbook generator uninitialized constant Berkshelf::CookbookGenerator::LICENSES

I get the following error when running berks cookbook mycookbookname

```text
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/errors.rb:341:in `to_s': uninitialized constant Berkshelf::CookbookGenerator::LICENSES (NameError)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/color.rb:84:in `set_color'
	from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/shell.rb:27:in `error'
	from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:30:in `rescue in execute!'
	from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:22:in `execute!'
	from /opt/chefdk/embedded/apps/berkshelf/bin/berks:5:in `<top (required)>'
	from /usr/bin/berks:37:in `load'
	from /usr/bin/berks:37:in `<main>'
```