#52 Fixes TypeError thrown if target option not passed.
Merge pull request #53 from gwa/master

#52 Fixes TypeError thrown if target option not passed.