Fix option to disable PETSc debugging

Reported-by: Johannes Ring <johannes.ring@gmail.com>

Fixes problem noted here: https://github.com/hashdist/hashstack/commit/305056e55e0bcc2dbcce5030c670534b02beb6c8#commitcomment-8761113