Don't allow dep resolution to be memoized when we're in a bootstrap context [IMMUTANT-328]