If the packages folder hasn't been built yet (via nuget package restore) this will not exist.   Can that scenario occur?