state: Not enough laziness caused unloaded modules list to be computed in wrong path