gwpy.detector: fixed bug with missing import