workon fails when .project file ends in newline
Merge pull request #24 from hoitmort/get_project_dir-fix

workon fails when .project file ends in newline