If no branch can be determined from the commit, use master.