Fixed directory redirect if directory mapping is used.
Refactoring...
NuGet 0.2.2 with redirection fix.