Fix fatal error when converting Vich\UploaderBundle\Mapping\PropertyMapping to string