Raise when popping an empty scope dataset.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>