Fix Publish so that it can use blob storage accounts in custom URIs