archivematicaMCP: don't get config inside a loop