We're setting "home" to NULL, and then using it in error messages, which
isn't good, we'll drop core if they ever fire, not a good thing in a
sample program.  Add boilerplate to the examples, if we don't have an
evironment specified by "make check", create a clean standard one and
use it.