fix problem with rewrite all cookbooks_path