SERVER-10471 fix test by no longer trying to dereference null