Added commit ref/branch name to SHA resolution.