Issue #1 again: sed on TRG directory, not DM_SOURCEDIR