Fix copying the scripts/ directories
$scriptdir already contains the full path to the repository scripts directory.