what about:
 
```
if pandoc_available == True, None:
   check_version()
```
or something like that... and delete the `try` in line 138... because you are duplicating code in `get_pandoc_version()` throwing an PandocMissing after checking the version... again...