Fix error when run outside of cloud formations

Fixes Issue #1
Merge pull request #2 from cpitman/master

Fix error when run outside of cloud formations