Convert key to uppercase for prefix empty branch to keep it consistent with the regular branch