Drop generic exception handling for CLI tests

Use the specific CLIFactoryError exception when handling CLI factories exceptions

Bonus: Enable CLI Org test_bugzilla_1078866
I do like the usage of `err` instead of `e`.