Fix caching of the slugs

My previous pull request cleaned up the tars, which broke this part of the script.