Version: 1.29.0-insider (user setup)
Node.js: 8.9.3
Architecture: x64
Extension: 
Repro Steps:
- Start up a private local registry with the command:

- Right click Private Registry -> Connect to a Private Registry...(Preview)
- URL: http://localhost:5100
Username: Press Enter
- Select an existing image to push the current private registry.
- Right click the pushed image -> 'Deploy Image to Azure App Service'.
- Select valid resource group, app service plan and unique name for the web app.
- Check the result.
Expect:
There is no error.
Actual:
Pop up the error with 'Cannot read property 'adminUserEnabled' of undefined'.
