This really puzzles me. Why doesn't fill_pathname() work? It uses strrchr() ...
The logic here (strrchr on '_') breaks info files hard here at least.