fix problem with rewrite all cookbooks_path only for berkshelf path