Fix for brnch checkouts from webui.