Merge "Add more checks for invalid states when reading webview packages config." into nyc-dev