Null check for cipher text to prevent NPE on decryption

Fixes #1703
Closes #1728
// FREEBIE