code: function computeReleaseDirname(result) {
    if (!result.stdout) return null
  
    // Trim last breakline.
    const target = result.stdout.replace(/\n$/, '')
    return target.split(path.sep).pop()
  }
docs: Compute the current release dir name.
  
  @param {object} result
  @returns {string}