fixed repository folder creation