HPCC-12027 Fix $.^ for items in the root module.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>