Addressing issues in #4514

Fixes to logging and clearer messages for when aptsources or python-software-properties are not available.