This can fail for users using `bash -u` or `set -u` in their shell so let's try to be stricter here for both them and us.