Get the repository from item, no need for registry.
Merge pull request #27 from sonatype/registry-misuse

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