fix adding repo entry to old format productid.js

If value is still an old format string, replace
with one item list of value.