check for array

fix for bug: Can't use string ("0") as an ARRAY ref while "strict refs" in use at script/ddgc_commit_edits.pl line 46.

@MariagraziaAlastra 
@russellholt :+1: assuming it always evaluates to a false.