Improved check for missing extension manifest.
Improved check for missing bundle manifest.