* Don't attempt to get pwd for error message
* Print error instead of raising exception
This is more user-friendly too.
* Switch back to raise, but rescue it too
* Refactor
There's no need for `clear_cache` to fail if the cache doesn't exist,
either because we call `clear_cache` twice or because no cache was
previously written on this particular repo.