Update PackageGet.php

! Paths containing many files over tax the memory despite any large presets prior to the loop. Allocating it prior to the loop solves the issue. 

Signed-off-by: -Underdog- <github.underdog@gmail.com>