Fixes a small syntax error when generating snapshots.

Should fix the SNAPVER under some circumstances.