On Ubuntu, replace underscores in branch name with dashes.