[Console] Fixed command name guessing if an alternative is an alias.