MT#7803 Fix fetching invoice svg data.

(cherry picked from commit b66a390653378b8ce1da64b6bf54de91fcd6244c)