fixes bug 1043681

invert the -z test to -n when trying to figure out if we're building in a ci environment or not.