[PAXWEB-492] Possible warning when scanning imported packages leading to a bad discovery