Fix problems with dynamically figuring out the project name.