changed exit to ImportError when PyMata absent