Fix Smarty undefined index in command line Debug execution.