Update clean function to remove only the specific TO_BUILD device.

Change-Id: I4f8485933df31166696b0070c4fd60b3b4e70cb8
Merge "Update clean function to remove only the specific TO_BUILD device." into to-5.0