If you decide to use the option of getting a line at a local auto parts store you can pull all the tupperware and pull the old line out and take it with you to get the right length and fittings.
When you pull it out, pull a length of strong string through with it to help pull the new line through the same path as the old one.
Also, before you pull it out, disconnect it and let it drain, and then stick a wad of paper in the ends to prevent any drips. Then give everything a good slosh of water to wash away any brake fluid you might have missed.