Webkit greeter: Replace $hostname with the hostname