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

This is what I am using in the UI. I prefer it to having to call different actions per repo type. I'd probably remove the other actions if we didn't have to maintain the packages one.