Fixing NPE while deploying applications without properties