Workaround, waiting for https://github.com/symfony/SwiftmailerBundle/pull/64 to be merged