public void Initialize()
 {
     WrapDescriptorPath = new DirectoryInfo(Environment.CurrentDirectory)
         .SelfAndAncestors()
         .SelectMany(x => IOExtensions.Files(x, "*.wrapdesc"))
         .FirstOrDefault();
     var dir = new DirectoryInfo(Path.GetDirectoryName(WrapDescriptorPath))
         .SelfAndAncestors()
         .SelectMany(x => x.Directories("wraps"))
         .Where(x => x != null)
         .FirstOrDefault();
     if (dir != null)
     {
         Repository = new FolderRepository(dir.FullName);
     }
 }
 void EnsureWrapRepositoryIsInitialized()
 {
     if (WrapRepository != null) return;
     WrapRepository = new FolderRepository(WrapsDirectoryPath);
 }