Added support for the legacy branch names (all lowercase and hyphen delimited).