Cosmit: avoid logging a spurious server-side stacktrace when running the python integration tests