Fix NPE situation in NewProjectWizard