Treat projects in subfolders correctly in `NewFileWizard`

Normally a project is located in the root of the workspace, which would
lead to a physical location like '/workspace/project/file'. But it is
totally valid to have a file in a physical location like
'/worskpace/subfolder/project/file'. In this case the wizard did not
work correctly.

Fixes #1002185
Would it work to stop earlier in your get-path? If I inline `val page` I get this:
```
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getWorkbenchWindow()
```

Are the last two method calls cancelling each-other?