Fix paths to NuGet packages.

The project was referencing a folder outside that of the repository
(and which would not exist on most developers' machines). This
change updates the references to use the default "packages" folder
within the project directory.
Catching an Exception