follow symlinks when installing from path

This turned out to be more complex than expected (surprise!) Maybe I'm missing a handy function that simplifies things.