Select the repository item path, copy it, then insert as a repository path of a parameter of type Media.