Clean up error messages in PhpVerticleFactory.