Myself, I have bought twice based on price not distance. I do consider major repair possibilities. This is a spooky choice. The money I saved on the long distance purchase was planned to be spent out of pocket if the worst case happened. I have been lucky since with both purchases, no spendy items showed up.
If you have skills and no fears about handling a minor repair job yourself then go for the price. Good luck with your choice.
Bob & Michelle
2016 Ford F-250 Lariat 4x4
2017 Flagstaff Super Lite 526RLWS