-[LSBundleProxy bundleIdentifier] can sometimes return nil so check for it.
rdar://114802443
Pull request: https://github.com/WebKit/WebKit/pull/17442
Committed 267651@main (362ae6dc9ae1): <https://commits.webkit.org/267651@main> Reviewed commits have been landed. Closing PR #17442 and removing active labels.
Re-opened since this is blocked by bug 261173
Pull request: https://github.com/WebKit/WebKit/pull/17460
Committed 267659@main (f9b6f9288501): <https://commits.webkit.org/267659@main> Reviewed commits have been landed. Closing PR #17460 and removing active labels.