mapbranch: get last commit from remapped repository