Fix NPE on nonexistent GetIdentitiesByPartialNickname truster.

Return an error message instead.