Removing GIT_PRE_COMMIT check and adding check for $argc being set.