diff --git a/msm/skill_entry.py b/msm/skill_entry.py
index <HASH>..<HASH> 100644
--- a/msm/skill_entry.py
+++ b/msm/skill_entry.py
@@ -562,7 +562,7 @@ class SkillEntry(object):
                 'Attempting to retrieve the remote origin URL config for '
                 'skill in path ' + path
             )
-            return Git(path).config('remote.origin.url')
+            return Repo(path).remote('origin').url
         except GitError:
             return ''
Use git.Repo() to determine remote url

In newer GitPython the Git(path).config() seems to fall back to info
contained in the current directory leading to a possible mixup of origin
URLs. (as illustrated in the test case test_from_folder())

This replaces the check with a check using Repo.remote() to find the
remote for a repo at a location.