subversion: Don't run `svn info' in an export.

svn.get_revision() calls `svn info' which is not supported in an export.
We avoid this by exiting earlier with an useful status.

This fixes #299.