Fix branch deploy class