message: Create git repo if it doesn't exist
  This prevents the server failing to boot of there is no repo available at
  the specified path
diff: @@ -82,6 +82,8 @@ const {
  Commit
  } = require('nodegit');
  +const Change = require("./change");
  +
  const { safeEntryByName } = require('./mutable-tree');
  const logger = require('heimdalljs-logger');
  @@ -95,9 +97,25 @@ module.exports = class Indexer {
  this.log = logger('git-indexer');
  }
  +
  async _ensureRepo() {
  if (!this.repo) {
  + try {
  this.repo = await Repository.open(this.repoPath);
  + } catch (e) {
  + if (/Failed to resolve path/.test(e.message)) {
  + let change = await Change.createInitial(this.repoPath, 'master');
  + this.repo = change.repo;
  +
  + await change.finalize({
  + message: 'First commit',
  + authorName: 'Cardstack Hub',
  + authorEmail: 'hub@cardstack.com',
  + });
  + } else {
  + throw e;
  + }
  + }
  }
  }
  