chore: Fix validate-commit-msg.js

There was a problem when testing the validate-commit-msg
that process.argv[2] was undefined, which lead to the
failure of the spec.