Fixed generation of exclusions.

Change-Id: Ibc2b21ef0ad9a1b70f75f1bfa2708778ad29e5ec
FIxed

Change-Id: Ic0c7a38b9dde4ef99f06094f46348a9cccf1c29b