Merge pull request #133 from dobbymoodge/check-sources-bugs

<check-sources> Add useful command line options
Fix condition where repo_priority is run against missing repo