getnote: die early instead of creating more damage with invalid data