Raise exception if python-apt not installed
Merge pull request #16827 from tf198/no-python-apt

Raise exception if python-apt not installed