Fix pkg.latest regression in apt

The recent changes to disable the use of shell=True in cmd.run* calls
mean that the repo argument no longer needs to be quoted.

Fixes #8067.