TRUNK-4329 Uploading no module results in exception page

Ticket: https://issues.openmrs.org/browse/TRUNK-4329

Added a check for null moduleFile to prevent an uncaught null pointer exception from being thrown when moduleFile.getName() is called.