Fixing failed CLI tests for Repositories.

Repositories support has changed in these last few days so I had to
update the factory method. Tests look ok.
Merge pull request #643 from omaciel/fix-repository-feed

Fixing failed CLI tests for Repositories.