Raise an exception on evaluating an empty list.