Added a check for nonexistent varargs to fix a NPE crash.
Merge pull request #25 from pterolatypus/master

Added a check for nonexistent varargs to fix a NPE crash.