Revert "Fixes #3008, Use tar instead of cp to make sure target dir is created"

This reverts commit 9c0a39f717a04def5d6c0260eb74a7cd0cde8b17.
Fixes #3008, make sure target dir exists on all cases