(f) Fixed TypeError for SVG images without width and height

image-size library throws a TypeError "invalid svg" for SVG images
without determined width and height.