Added check for commit config variable