Probably worth getting a £2 repair kit to save a 3 mile walk.
Could you not "Lassie" your dog to sense your trouble, bring you the repair kit and a barrel of brandy.
By the time I'd have fixed it, I could be back home.
Watch the video.. I've just added some notes to it and I made good use of his skills.