Issue #266: Fix NPE when intent extras is null.