report git commit description if testing from a repository
protect t/readpref.t from bad MONGOD environment variable