Jira issue IZPACK-1058

Fix for Jira issue IZPACK-1058. Created a test suite and made changes to two source files to allow an empty file request.