Fix bug in creating a new app in a fresh system
Fix bug in creating a new app in a fresh system

chrisnappi/origen,Origen-SDK/origen,Origen-SDK/origen,Origen-SDK/origen,welguisz/origen,priyavadan/origen,coreyeng/origen,info-rchitect/origen,priyavadan/origen,priyavadan/origen,priyavadan/origen,welguisz/origen,chrisnappi/origen,Origen-SDK/origen,info-rchitect/origen,chrisnappi/origen,info-rchitect/origen,coreyeng/origen,welguisz/origen,chrisnappi/origen,coreyeng/origen,coreyeng/origen,welguisz/origen,info-rchitect/origen