On the interactions of unit roots and exogeneity