src/vs/workbench/services/extensionManagement/common/extensionManagementServerService.ts/ExtensionManagementServerService/getExtensionManagementServer
class ExtensionManagementServerService:	getExtensionManagementServer(extension: IExtension): IExtensionManagementServer {
		if (extension.location.scheme === Schemas.vscodeRemote) {
			return this.remoteExtensionManagementServer!;
		}
		if (this.webExtensionManagementServer) {
			return this.webExtensionManagementServer;
		}
		throw new Error(`Invalid Extension ${extension.location}`);
	}