[Bam.Core] Improve checking for invalid dependencies, mostly those added from post actions
[Bam.Core] Improve checking for invalid dependencies, mostly those added from post actions

markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation