[public_key] don't try and read pubic_key when it's nil