Revert "Localhost path switches"

This reverts commit e75060f208d93dab6b16f2a3e6fb8fabf65d706b.