imagebuilder: store package lists in cache directory