`cookbook` can't be nil because you've defined `cookbook.copyright` which insinuates a nested Hash. `cookbook` will always return a Hash