Fix double-escaping of git branches