if hostname is an absolute path, strip alway leading slash

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>