Clip package list to 5000 to avoid memory exhaustion
copy-to line for keter