Fix PermissionsEx version detection on snapshots