Fix for classname inversion in general.py

commit 3b5ecf3c4a0 breaks Ubuntu/Debian classes because of classname inversion in general.py