Fix hostname slicing to also remove the initial "."

If the hostname is the non FQDN format when extracting the graphite
the metric would be started with "." on the metric field.