Density dependent interactions and the consistency of folding estimates of nucleon-nucleus and nucleus-nucleus potentials