making publishConfig work with registry-specific config entries