Bugfix segmentation fault -> bison (pi)

Trying to reach the value of a sometimes null pointer…