Throws if "packages" directory does not exist

PackageAssemblyResolver.GetAssemblyNames assumes that the local "packages" folder exists. For scripts that only require framework assys packages are unnecessary.

Simply added an "if(!Directory.Exsits..."