(2)No person so arrested, shall be detained in custody after his true name and address are ascertained or, without the order of the nearest Magistrate, for a period longer than twenty-four hours from the time of arrest exclusive of the time, necessary for the journey from the place of arrest to the court of such Magistrate.