TRUNK-4487 Module architecture fails to populate aware_of modules in

https://issues.openmrs.org/browse/TRUNK-4487