Fix a null-dereference introduced by another mis-fix in r9919.