Install package only when in cache?

Also relevant: Steps to find a commit with cached version of package - #3 by SRGOM