SWITCHYARD-1349 Empty switchyard.xml causes NPE

Added a condition that validates if a composite model is null.