Try to clean up buildRepo dir just before generating archive