server: Prevent critical on upload

Signed-off-by: Jens Georg <mail@jensge.org>
media-export: Prevent warning on upload

Signed-off-by: Jens Georg <mail@jensge.org>