If there is only a layer without a name, use metadata from the first cycles layer in the metadata, if any.