ISIS-812: fix for PostgreSQL blob handling (for null blobs)