publishing a puppet module in a content view errors
To reproduce add a puppet module to a content view and publish
Fixes #18848 - Check for docker repo when calling container_repo
This method doesn't exist for content view puppet environments,
which are created on the capsule the same way repositories are.
Since docker repos only need container_repository_name, we can
only set this for docker repos and have the others be nil.