This is incorrect behavior, because it could cause repository folders to be removed during the course of a single test.