Updated aptpkg.mod_repo() module to properly add new PPAs. To determine if the PPA needs to be added, parse the return of get_repo() rather than trying to catch its exceptions.
Merge pull request #17712 from juiceinc/bugfix/adding-ppas

Updated aptpkg.mod_repo() module to properly add new PPAs