cmdutils: replace exit() by exit_program()