extract.c: check for empty extraction list