More carefully handle cases where reg number array is None rather than
an empty array.