automatically create the needed repository path