Set command name instead of null in case command is not found.