One clarifying question - which of the following is true?
① The media set is a direct input to your job.
② You have one job that extracts media references from the media set and outputs them to a dataset, and then another job reads that dataset of media references and processes them.
If ②, I believe that this error is expected, because media references can only be accessed in a transform where the media set is itself an input.