fix for package cache expansion when dealing with snapshot.