LPS-37836

Hey Julio,

this is a bigger fix for global scope because I found we did not check the entities itself only when they are dependencies if we should import or not, so finally because the entry was in the lar the PDH's imported them.

thanks,
Daniel