Fix test_command_runners on Python 3

excinfo.value returns the exception itself, but exceptions are not iterable in Python 3,
therefore 'in' raises TypeError. exconly() returns the exception string, which is what
we really want here.