Create a mantid dataset if none exist. Refs #9376.