Handle when `id` is null.

This will occur following the merger of
https://review.openstack.org/#/c/46869/

Change-Id: Id63e187ee14e9e14da800cc4a977c4016c5437de
Merge "Handle when `id` is null."