fix source tree removal in sourcetree step