fix(metro-plugin-duplicates-checker): improve banned/ignored checks (#4299)