Removed no-op lines

An Exposure Detector was set to None if getDetector returned None.