src/vs/workbench/services/extensionManagement/common/remoteExtensionManagementService.ts/RemoteExtensionManagementService/validateProfileLocation
class RemoteExtensionManagementService:	private validateProfileLocation<T extends { profileLocation?: URI }>(options?: T): T | undefined {
		if (options?.profileLocation) {
			if (!this.uriIdentityService.extUri.isEqual(options?.profileLocation, this.userDataProfileService.defaultProfile.extensionsResource)) {
				throw new Error('This opertaion is not supported in remote scenario');
			}
			options = { ...options, profileLocation: undefined };
		}
		return options;
	}