protected @Nullable WorkspaceEntity getExistingEntity(MutableEntityStorage diff) {
    ExternalEntityMapping<PackagingElement<?>> mapping = diff.getExternalMapping(PackagingExternalMapping.key);
    return mapping.getFirstEntity(this);
  }
protected @Nullable WorkspaceEntity getExistingEntity(MutableEntityStorage diff)