vcs: Fix previous commit to make tarball imports work again

rev-parse may need to be able to fail.