For a PPA, I currently get
<Origin component:'' archive:'' origin:'' label:''site:'ppa.launchpad.net' isTrusted:'False'>
so the "not o.site.startswith('ppa')" check should still to work. However, it doesn't check whether the currently installed version is "None", i. e. isn't available from any package source. This happened both here and in bug 337490.
For a PPA, I currently get
<Origin component:'' archive:'' origin:'' label:' 'site:' ppa.launchpad. net' isTrusted:'False'>
so the "not o.site. startswith( 'ppa')" check should still to work. However, it doesn't check whether the currently installed version is "None", i. e. isn't available from any package source. This happened both here and in bug 337490.