wrapped $1 variable to handle to handle long paths

[jsohl@jsohl-centos6 puppet]$ .git/hooks/pre-commit
Checking json syntax for modint/stdlib/checksums.json...
-e:1: undefined local variable or method `modint' for main:Object (NameError)
Error: json syntax error in modint/stdlib/checksums.json (see above)
Error: 1 syntax error(s) found in json file.  Commit will be aborted.