fix: NPE checks in BndDependencySourceContainer

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
Merge pull request #973 from derheld42/npe_bnddependencysourcecontainer

fix: NPE checks in BndDependencySourceContainer