Patch Set 2: No score

This method was extracted from org.eclipse.egit.ui.internal.clone.CloneDestinationPage (Change If3c61a2a) because org.eclipse.egit.core.GitProjectSetCapability needs this feature too (Change I800dd9f2). It also may be used by org.eclipse.jgit.pgm.Clone.run() method (if (localName == null)...).