Investigate if extra call to ContainerRepositoryDetails is needed
Context
This is a followup from #290949 (comment 1671417054).
Ask
Validate if we need to keep this call or if we can remove it. It's likely that removing it will lead to a measurable performance improvement (requires validation).