PHP Notice - Undefined variable if uptime less than 24h

Resulting in empty hostname.

Fix here.