Fixes #7810 - Remove docker and puppet content from a repository

This seems like something that should exist in the model layer?