module: only cache package main
Merge remote-tracking branch 'upstream/v0.10' into v0.10