[BZ 1079368] Fix potential NPE in nullable column

(cherry picked from commit a6a94893c4136e02b082829e15b87de4f950c3ec)
Signed-off-by: Thomas Segismont <tsegismo@redhat.com>