fix handling of files/dirs with projectName