LazyflowSource: Added an assert to check that dtype != None