fix package validation

All files specified in definition.ald must be present.
Due to a XPath error, the checks were not working. Fix
the Xpath now.
one more fix to file checking

As 0 is a valid ZIP index, an error was always thrown,
regardless of file validity. To circumvent that, use
identity check for FALSE .