Merge pull request #3 from kl4w/master

Fix for case when multiple repos and a package may not exist.