The Pathname script runs for memory-based tables, just as it does for other tables. This means that memory-based tables have path information, even though they are stored in memory.
If you don’t want a memory-based table to have path information, make the table part of the Pathname series. The Pathname script doesn’t run when tables in the Pathname series are accessed.