TS-1475: Make assumption of non-NULL HostDB record explicit via assert.