XD-778 ${xd.home}/data dir created

Application now handles the scenario if xd.home is not defined.