Find duplicates again, except for AADL_Project
Revert "fixes #503"

This reverts commit 5002e789a56d64754b9b9cbce7ea30be49bfe5a2.