Resolve projectType correctly
Merge pull request #499 from Icenium/fatme/fix-project-type-resoloving

Resolve projectType correctly