scop detection: early return

to reduce indentation level
No functionality changed.