Prune origin before fetching updates

Fixes #1