Ticket/989 missing validation of archive

http://www.flying-bits.org/tracker.php?p=33&t=989