Optimization for ImageLoader.java if url is null.