def normalize_repeated_null(value):
    """Normalze the way we represent null in repeated fields.

    There's 3 equivalent options: `None`, [], and `[None]`.  We chose [] to be
    the standard for repeated fields, so this turns any of these into [].
    """
    if value is None or value == [None]:
        return []
    return value