refs #4121 make sure we are in cli mode