don't lookup branch element - it might need to be escaped
Merge pull request #7523 from Razer6/fix_branch_delete

Fix branch remove for branches containing a '/'