Handle --discard_analysis_cache when not storing transitive packages in aspects.
@@ -480,7 +480,6 @@ public final class AspectValue extends BasicActionLookupValue {
Preconditions.checkNotNull(location, this);
Preconditions.checkNotNull(key, this);
Preconditions.checkNotNull(configuredAspect, this);
- Preconditions.checkNotNull(transitivePackagesForPackageRootResolution, this);
if (clearEverything) {
label = null;
aspect = null;
