lookandfeel: Add missing check if list of files is empty

BUG: 439797
2 jobs for !1264 with work/fix_crash_install_theme in 7 minutes and 6 seconds (queued for 4 seconds)
latest merge request