explicitly check for null
explicitly check for null

Co-Authored-By: mathieudutour <78fe1bd75cb39a63d6829524be38d69258829b4f@gmail.com>
desktop/desktop,desktop/desktop,shiftkey/desktop,artivilla/desktop,kactus-io/kactus,shiftkey/desktop,kactus-io/kactus,kactus-io/kactus,j-f1/forked-desktop,j-f1/forked-desktop,artivilla/desktop,artivilla/desktop,say25/desktop,artivilla/desktop,desktop/desktop,say25/desktop,desktop/desktop,shiftkey/desktop,shiftkey/desktop,j-f1/forked-desktop,kactus-io/kactus,j-f1/forked-desktop,say25/desktop,say25/desktop