CommandAI: fix missing default return value
fix #4077