Various unattended-upgrades fixes and enhancements