[fix] Duplicate component check on identical resoruces fixed.

Change-Id: Ia2e187289312ed66667ec38395d569258ef2a87f
Merge "[fix] Duplicate component check on identical resoruces fixed." into unstable