Check blocks are non-nil before invoking them in imageAtURL