base-files: fix logic error in led default handling (patch from #19593)