     pictureLink = gContact.link.filter (link) -> link.rel is PICTUREREL
     pictureUrl = pictureLink[0]?.href
 
-    return done null unless pictureUrl
+    # The gd$etag property is only found when the contact has a picture.
+    hasPicture = pictureLink[0]?['gd$etag']?
+
+    return done null unless pictureUrl and hasPicture
 
     opts = url.parse(pictureUrl)
     opts.headers =
         'Authorization': 'Bearer ' + access_token
         'GData-Version': '3.0'
-    https.get opts, (stream)->
+    https.get opts, (stream) ->
+
         stream.on 'error', done
-        unless stream.statusCode is 200
+
+        if stream.statusCode isnt 200
             log.warn "error fetching #{pictureUrl}", stream.statusCode
             return done null
+
         thumbStream = stream.pipe im().resize('300x300^').crop('300x300')
         thumbStream.on 'error', done
         thumbStream.path = 'useless'
         type = stream.headers['content-type']
-        opts = {name: 'picture', type: type}
-        cozyContact.attachFile thumbStream, opts, (err)->
+        opts =
+            name: 'picture'
+            type: type
+        cozyContact.attachFile thumbStream, opts, (err) ->
             if err
                 log.error "picture #{err}"
             else

        callback null
    else

        # look for same, take the first one
        fromCozy = null
        for cozyContact in cozyContacts
            if CompareContacts.isSamePerson cozyContact, fromGoogle
                fromCozy = cozyContact
                break

        endCb = (err, updatedContact) ->
            log.debug "updated #{name} err=#{err}"
            return callback err if err
            numberProcessed += 1
            realtimer.sendContacts
                number: numberProcessed
                total: total
            callback null, updatedContact

        if fromCozy? #  merge
            log.debug "merging #{name}"

        log.debug "got #{contacts?.google?.length} contacts"
        return callback err if err
        total = contacts.google?.length
        async.eachSeries contacts.google, (gContact, cb) ->
            addContactToCozy gContact, contacts.cozy, cb
        , (err)->
            return callback err if err
            _ = localizationManager.t
            notification.createOrUpdatePersistent "leave-google-contacts",
                app: 'import-from-google'
                text: _ 'notif_import_contact', total: total
                resource:
                    app: 'contacts'
                    url: 'contacts/'
            callback()
