public GhidraBundle remove(String bundleLocation) {
		writeLock.lock();
		try {
			GhidraBundle bundle = bundlesByLocation.remove(bundleLocation);
			bundlesByFile.remove(bundle.getFile());
			return bundle;
		}
		finally {
			writeLock.unlock();
		}
	}
Removes the mapping for a bundle with a given bundle location.

@param bundleLocation a bundle location
@return the bundle removed
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleMap.java