Add null test to prevent capserver death when the DB is messed up and a query returns a null where it ain't supposed to!
Add null test to prevent capserver death when the DB is messed up
and a query returns a null where it ain't supposed to!

nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome