Prevent nullpointer by detecting if remote bom has no dependencyAlignment block