[Console] find command if its name is a namespace too (closes #7860)