Use Tcl_FindCommand in stead of Tcl_GetCommandInfo where this suffices.