Fix test failure due to new compacted resource config files being under
the agent datadir.