Reject null input immediately.
Merge pull request #113 from square/jw/fast-fail

Reject null input immediately.