Fix _has_hgsubversion to handle OSError.

In the case that running 'hg svn ...' fails with an OSError, we want to skip
tests rather than failing. Trivial change.