BHV-698: Fix bad null check.

DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>