Corrected constness of GetCommandName