Oops: Fix check for git repository