Recover from LP #1085107 test breakage.
Condition write-as-root-to-system-postgres tests on an environment variable.