Resolve projectType correctly

Fixes http://teampulse.telerik.com/view#item/277685