get MODS repository name correctly, refs #6969

When there is an unencoded ampersand in the repository name, the MODS XML file is invalid (can't be parsed in browser). This is the same fix as in https://github.com/artefactual/atom/commit/4a0a18501c43b1fa43738c65a1f17a8cca86009a