Added support for project file inside project folder.

When initializing the config, we now properly detect the real folder name (path=".") when project file is inside project folder.

Fixes #8