[Console] Throw an exception if the command does not contain aliases

It can only happend if the constructor has been overridden