PetScan::extract(StmtRange, bool, bool): break out early on NULL scop