exit if we don't have any plugins
Use a contextmanager for cleanup tempdirs.