Revert "Revert "Fixed: path is wrong with local copy""

This reverts commit 6825e3f7cebe08d6b2cfc10de55d12103d5e08a7.