Update the `hostname()` primitive.

  If $HOSTNAME is set, return that value.