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

This commit fixes git support when resolving cookbooks through Berkshelf, as proposed in jonlives/knife-spork#74