Fix unpack directory contains symlinks

Hello,

On python3 installation fail when the source directory contains symlinks.

see: https://api.travis-ci.org/jobs/4900020/log.txt?deansi=true

PS: need to add test for that.