fix NPEs in ProjectPreferencesWizardPage