modified RHUIManagerRepo.check_for_package method