Open projects differently.

This was done because this is how intellij does it when the thing being
opened is a directory.