Don't hide error detail on pkgrepo.managed failure

Also, replaces `except:` clause with `except Exception:`, so as not to
get in the way of SystemExit and KeyboardInterrupt.