Fix wrong usage of gproc:get_value/2