Actually handle there being no project
Merge pull request #3 from Raynes/master

Fix the project existence check