Fixed a bug in the builtin ChangeBranchTask.php

Please review and merge this fix.