Hiding hostname if the session is local