Handle missing src attribute values for known image elements.

Calls to UpgradedImageIExtractor.get_image in check_known_elements
were not checking the validity of the extracted src before trying to
use it to build the image. This caused an exception when build_image
tried to parse the src URL.