Correct if statement in 'apply_patches'
pacman checksum fixes