Handle `capman is None` in `patch_ipdb`

Fixes https://github.com/mverteuil/pytest-ipdb/issues/23
Merge pull request #24 from blueyed/fix-none-capman

Handle `capman is None` in `patch_ipdb`