Fixed a bug in the builtin ChangeBranchTask.php