Fix package remove/purge tests for older debian/ubuntu