Right, this is not actually happening because app_type is set when the files are accessed. And in fact if it happened, the function would have already returned and printed "Unsupported app_type: ...", as sim_ef_db_get_path_2g/3g return len > 0 for these two files. So len >0 always for these files. I have tested in mako and maguro, and checked that CardIdentifier was set.