public GhidraBundle getExistingGhidraBundle(ResourceFile bundleFile) {
		GhidraBundle bundle = bundleMap.get(bundleFile);
		if (bundle == null) {
			Msg.showError(this, null, "ghidra bundle cache",
				"getExistingGhidraBundle expected a GhidraBundle created at " + bundleFile +
					" but none was found");
		}
		return bundle;
	}
Assuming there is currently a bundle managed with file {@code bundleFile}, return its 
{@link GhidraBundle}, otherwise show an error dialog and return {@code null}. 

@param bundleFile the bundleFile of the sought bundle
@return a {@link GhidraBundle} or {@code null}
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java