Fix some readme and script bugs in examples (take 2).

Under `pipefail` use something like this to set if the variable is set:

```shell
if [[ "${DOCKER_HUB_USER+set}" != "set" ]] ; then
```

(Otherwise just having a reference to "${DOCKER_HUB_USER}" will fail when it's unset...)