build: Add support for non-standard sync branch