nitpretty: fixes crash on attribute annotations

Fixes #727

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>