According to doc: "Returns the local hostname. Will never fail." So it's not necessary here to do matching since it's always {ok, _}