Use cookbook.path.to_s when the cookbook is a CachedCookbook