Omit using sys.modules if possible

Does not work though: still TypeError due to some global in multiproccessing 
that got None
Improved error message in check_output