wrong end brace location
add [file normalize] to UNIX pkgIndex.tcl too