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