Git tasks - pass real error message (2nd version)

I was using the task gitcheckout yesterday, and the task failed with no other message than "Task execution failed". Looking at the source in phing/tasks/ext/git/GitCheckoutTask.php I see that all execution errors are handled by
throw new BuildException('Task execution failed.');
I have changed it to 
throw new BuildException('Task execution failed.', $e);

Same treatment applied to all the git tasks.

Thanks to MichaelPhing @ IRC for quick replies.