final String key = (token.startsWith("${") ? token.substring(2, token.length() - 1) : token);
final String temp = SecurityActions.getProperty(key);
if (temp != null)
token = temp;
for (RepositoryBuilder builder : builders) {
<BUG>CmrRepository repo = builder.buildRepository(token, config);

if (repo != null) {

return repo;
</BUG>
}

final String key = (token.startsWith("${") ? token.substring(2, token.length() - 1) : token);
final String temp = SecurityActions.getProperty(key);
if (temp != null)
token = temp;
for (RepositoryBuilder builder : builders) {
CmrRepository[] repos = builder.buildRepository(token, config);
if (repos != null) {
return repos;
