Fix for the regression pkgrepo.managed for the PPA

This pull request fix the error I have reported on #4537.