966860: handle older manifests with no id cert

Older manifests will not have the identity certificate for import. This results
in a null pointer exception when importing older manifests. We now check the
idcert for null and ignore it if it is not there.

Added a unit test to verify the bug as well.