Fix application init

Related to 2amigos/yiinitializr#6