Fixing fetching of current Subversion revision.

Copied from an unmerged pull request on the main Capistrano project:  
https://github.com/theunraveler/capistrano/commit/cf2a8396c596e1b5df06c3a31f8d677004943b1b