read_wim_lookup_table(): Cleanup