Fix NPE that occurred during deletion of bundles that are placed within packages
2 files changed