ci: Fix TypoError error when traces in traces.yml is an empty list