core.c: Change variable name from first to first_extraction

for better code readability

Signed-off-by: Hal Rosenstock <hal@mellanox.com>