function repositoryMustBeDirectoryDialog (path) {
  hideWindowsAndShowDialog('repositoryMustBeDirectoryDialog', { path })
}
Dialog to show when we detect that the repository is not a directory.

@param {string} path