Prevent TypeError when the page being inspected has no images.