Bug 1027058: Gracefully handle upgrading zero gears on a node