fix(motdgen): Fix accidental logic inversion.

Missed the ! when switching from checking $?.