add check mode support to pkgng module

Could it be that easy or do I have missed something?