--- a/extract-sfnet-user
+++ b/extract-sfnet-user
@@ -1,5 +1,2 @@
 #!/bin/sh
-if [ -f CVS/Root ]
-then
-	perl -ne 'if (/^:ext:([^@]+)@.*$/) { print "$1\n"; }' < CVS/Root
-fi
+git config remote.origin.url | sed -n 's|^ssh://\([^@]*\)@.*$|\1|p'