Set branch property unless it is 'master' branch.