Fixes issue with empty archives for applications.