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

What would be the use case for this generic sounding API?