fix get document when missing embedded with media

in case you try to embedd a document which has media fields and that
document was deleted meanwhile there is an exception from:

```[field for field in media_fields if field in document]```

because document is `None`