The licensing and vaccination requirements of this Code shall not apply to any dog or cat belonging to a nonresident of Macon-Bibb County and kept within the jurisdiction for not longer than thirty (30) days, provided all such dogs or cats shall, at all times while in the jurisdiction, be kept within a building, enclosure or vehicle, or be under control by the owner.