Fixed problem with project dir not being properly set in certain cases