core: fix typo (false → nullptr)