Without chown, normal user cannot remove it (in next prepare-repo-template). Also fix prepare-repo-template to clean only current repo, not all of them.