Safety checks for data-src attribute so we don't attempt to load an "undefined" image later