Saner handling of --list-* options
Store package caches in SQLite database