Added trivial package cache, which seems to work (as such it doesn't break anything), speeding up the wrapper
by about 10% already. The more complex the package graph, the better the speedup wll be