975164: 975186: fix certlib exception handling
Merge pull request #654 from candlepin/ckozak/certlib_refresh_proxy

975164: correct output when refresh fails