Fixed some issues that prevented OctoPack running under TFS