Fix for issue #2

Replaced `tmpl` in `has_cookbook_file?` by `cbf` which is the right argument. Fixes #2.