Fixed bug where deployment outside of IDEA gave errors.

Fixes #10.
Merge pull request #11 from nllptr/bugfix/deploy-error

Fixed bug where deployment outside of IDEA gave errors.