AbstractRepositoryMetadata now correctly resolves the domain type in case it's nested in multiple levels of wrapper types.