Don’t catch `AssertionError` in `getOption`

This caused some tests to fail under the radar, since JUnit asserts were silently logged
and not rethrown. This brings the test suite back to normal and fixes the tests that
were actually failing.