Fixing an incorrect pattern match target (in name/label replacement in the URL)

The code as before would look for "%name%" in the label (which is the
CSV column header) and replace it with the label again, and then make
that the URL.  This makes no sense.

This change makes the code work with what I believe the intention of the
pattern matching was.