saltstack/salt — pull request #17712 by timoguin (2014-11-11 21:11:04+00:00)
Title: Updated aptpkg.mod_repo() module to properly add new PPAs. To determine ...

This is one potential fix for issue #17709.

In addition to parsing the return of `get_repo()` rather than catching its exceptions, this also fixes the return value for `mod_repo()` if the PPA is already installed by returning the repo info rather than an empty string.