Improved app signing validation script.