Fixes #4891 Catch unicodedecode errors from python-apt