I can see why someone would think there was Terrier, but I'm not so sure about Basenji. (The only way to know for sure is to do a DNA test.) Both of your dogs look very similar. What breed, or mix, is the older one?
Look at the BRAT mixes:
http://basenjirescue.org/DOGS-MIXES/Default.htm
Check out Tia. I think that's what you are looking for. :)
Then look at Tyson and Shiloh. Not the right coloring, but similar build and coat….