I think that the correct solution is to replace the final default else
with the conditional test:
} else if (elt[0] != 0) {
/* empty components can appear in TEXMFCNF; we skip over these */
Sounds reasonable to me. Thomas, Olaf?
Thanks Julian (and all).
karl