fixes #169; preload sources anywhere in project directory should work now
fixes #170; parentheses in base directory should be ok now
Merge pull request #171 from klieber/topic/issue169

Fixes for issue #169 and #170