Corrects and error when listing environment vars

Fixes and issue where a user with no projects would see an exception
when attempting to list environment variables rather than a friendly
error.
3.0.4