u/danielw/dm-1395

Creating PR for reviewing DM-1395
It might be. It wasn't obvious to me that I had control over the output location (other than through variantdir, which happens a level above), so I thought it was easy (and guaranteed to work) to just extract the actual path used from the target.