Only snapshot preinstall if actually running in testing mode
Fix pkg_cache_data usage
Fix cleaning the pool