Fix getRemoteConsole definition