Fix pg_prove error code

Signed-off-by: Julien Danjou <julien@danjou.info>