Small fix for custom media_url reading