include location type in cookbooks returned by DependencyCache#cookbooks

this fixes an issue where diffing the cache was broken