Clean the test path after each spec run
FactoryBot's build_stubbed ignores the current database sequence of the projects table and starts at ID 1000. If more than 1000 projects are created during a test run, leftover repositories can cause spec failures. For example, a spec that expects an empty repository may fail since there may be existing content.
Related issues
Backport of: gitlab-org/gitlab-ee!5141
Issue: gitlab-org/gitlab-ee#5461
Edited by Toon Claes