Configurable apt-get behavior.

For:
https://bugs.launchpad.net/juju-core/+bug/1322302
https://bugs.launchpad.net/juju-core/+bug/1350493
typo