lib/sysrev/sysrevMeta.js
function(cb) {
    fse.readFile(systemsJsonPath, 'utf8', function(err, data) {
      if (err) {
        if (err.code !== 'ENOENT') { return cb(err); }

        fse.mkdirpSync(sysRepoPath);
        fse.writeFileSync(systemsJsonPath, JSON.stringify(blank, null, 2), 'utf8');
        return git.createRepository(sysRepoPath, 'system', 'system@nfd.com', function(err_) {
          _systems = blank;
          cb(err_);
        });
      }

      _systems = JSON.parse(data);
      cb();
    });
  }
function(cb) {
    fse.readFile(systemsJsonPath, 'utf8', function(err, data) {
      if (err) {
        if (err.code !== 'ENOENT') { return cb(err); }

        fse.mkdirpSync(sysRepoPath);
        fse.writeFileSync(systemsJsonPath, JSON.stringify(blank, null, 2), 'utf8');
        return git.createRepository(sysRepoPath, 'system', 'system@nfd.com', function(err_) {
          _systems = blank;
          cb(err_);
        });
      }

      _systems = JSON.parse(data);
      cb();
    });
  }
ensures that the system repository is in place, creates it if doesn't exist