Make sure nilObject is always known to be a constant

Signed-off-by: Stefan Marr <git@stefan-marr.de>