Fixed version errors and duplicate repository creation.