fixed bug with test for cookbook existence

The cookbooks_path is an array of directories and any one of the must contain the user's cookbooks.