Fix assorted lint.
Primarily I was after what was causing the occasional segfault. That problem was caused by calling tmcc on a node that was free. Seems we were derefing some NULL columns returned by mysql because we assumed that there would always be a row in experiments for the node in question. Since I do need to call tmcd from the "pxewait" initramfs on Moonshot ARM nodes, I cleaned up this assumption.