Prevent NPE when the bundleUrl is null