add error handling for missing repository
Merge pull request #2 from runningonfumes/master

error handling for missing repository