It's a bit scary how this depends on the internal structure of the archive, but unless we're okay with weird paths (mms-agent/mms-agent) I can't think of anything better.