When, in the execution of a search-warrant at any place beyond the local jurisdiction of the court which issued the same, any of the things for which search is made, are found, such things, together with the list of the same prepared under the provisions hereinafter contained, shall be immediately taken before the court issuing the warrant, unless such place is nearer to the Magistrate having jurisdiction therein than to such court, in which case the list and things shall be immediately taken before such Magistrate; and unless there be good cause to the contrary, such Magistrate shall make an order authorising them to be taken to such court.