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.
Merge pull request #3636 from gthb/pkgrepo.managed-fix-squelched-error-message

Don't hide error detail on pkgrepo.managed failure