I've understood transportation costs are less than 5% from the overall production cost/carbon footprint of vegetable production. So it really makes sense to transport veggies and fruits from far away if even minor benefits on other production steps can be achieved.
Similarly also plastic packaging has minor footprint compared to the overall production of the vegetable. So, if the food waste is reduced even a little bit with plastic packaging, it is enviromentally better to wrap the veggies in plastic.