Guess branch when publishing branch