I had forgotten the MODROOT in trace_flow()!