again, the `tmpdir` which is being passed down to this `check_module_command` function is cleaned up in the `main` function...