do only the stuff if branch_name is present