[[ Bug 13553 ]] Ensure ImageLoader deals with name as StringRef correctl...

...y