String (WizardContext wizardContext, NamePathComponent namePathComponent) { if (wizardContext.isCreatingNewProject()) { return namePathComponent.getPath(); } else { final Project project = wizardContext.getProject(); assert project != null; final VirtualFile baseDir = project.getBaseDir(); if (baseDir != null) { return baseDir.getPath(); } return ""; } }