pulse2: Fix random lost connection errors

Fix traceback when displaying package list