Improved package listing commands yet again, and fixed --debug