Check correct function pointer before invocation
Allow sourceinfo to replace command_success_table impl.