TRUNK-4019: MDS doesn't start and shows unfriendly error message after installing

https://tickets.openmrs.org/browse/TRUNK-4019