Fixed XML bundle saving when there is not enought data to generate application.