fix possible exception with null RegEx when trying to enter a name of a new camel xml
avoid NPE if you select "Integration Flows" in the create document dialog
fixes #1169 - many thanks @patrodyne  for the fix!