Do not use context manage to preserver Python 2.6 compatibility

Test `scc unrebased-prs` return code using a try/except block