The skin modifier does not keep the UV layers. This just add a safety check when there is no UV layers.