Encapsulating the entire YUM instantiation / package listing process in a try/except block to catch all RepoErrors.