[REVIEW] Get the repository from item, no need for registry.

Repository instance is there (buried a bit), but there is for sure no need to look it up from registry by it's ID.