cmdutils: wrap exit explicitly