fixed prepare_pacman_keychain to work with copytree correctly.