[PATCH v2 11/27] cmd: Use an #ifdef around run_commandf()