Don't use id if it is NULL (found by coverity)
Don't use id if it is NULL (found by coverity)

Author: Jonathon Jongsma

community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server,community-ssu/evolution-data-server