test: fixed publish-config.js failing on CI server

+ added more logging info to help diagnose the problem