Fixes where "or error_exit()" could be zero

There were three places where a value that could legally take on a value of zero was used with an "or error_exit()" test.  These have all now been changed to a "defined() or error_exit()" test instead.