Same thing here as with the `CookbookVersionLoader`. By selectively mutating `@name` (but not `@pathname`) from elsewhere in the code, it obscures the logic and intent. Replacing the attribute reader for `name` with a method that picks between name and pathname makes it more clear what's going on. And gives a good place to add documentation of why things are that way.