Use the cache install if updating as a cache

Fixes travis build errors.