Fix bug: tpm shared path is created before sync