Solve the bug in the logic of parse cocos2d.ini.

The relative path config in cocos2d.ini should be related with the path of cocos2d.ini. But not the current path of user.