fix for '*' branch handling