0462: getObjectName(): fix possible non existing cp table query
fixes #426