Avoid script halt when hostname is not set on osx/defaults/hostname.sh