handle suffixed branch names