uptime: Trim trailing slashes at the end of a hostname