Cleaned up repository creation