Prevent nullpointer by detected if remote bom has no dependencyAlignemen...

...t block