get_project_dir fix

workon fails when .project file ends in newline