Updates deploy task to checkout source branch when finished