Fix for the regression pkgrepo.managed for the PPA

This PR should fix #4537.