Add copying for packages and scripts to MountedRepository types.