cache invalidation for get_packages() #53