Bug 978227 - Handle a null classname in AddClassInfo(). r=till.