Fix path if subdirectory

Fix loading config file if the project is in a subdirectory