code: function formatRepoUrl( dir ) {
  	dir = path.resolve( dir );
  	dir = dir.replace( /\\/g, '/' );
  	if ( dir[0] === '/' ) {
  		dir = dir.substr( 1 );
  	}
  	return 'file:///' + dir;
  }
docs: converts dir pointing to a bare repo to a url