diff.c: guard config parser from value=NULL