Backport fix from 3.0: creating multiple times the same gitfiletree repository.