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

Test for puppet modules too?