try to read default registry from publishConfig