fix project-export to fail for bogus projects.

Fixes #11