fix an exception while creating a new project

Make our handling of `null` from the `ProjectLocationManager` consistent. This fixes an issue where the user cancels out of the dialog to create a project the first time through. Fixes #1379.

@umop