Calling os.path.samefile on a repository directory that didn't exist was raising an exception. Resolve by comparing the directories as strings, see code comments for details.
Calling os.path.samefile on a repository directory that didn't exist was raising an exception. Resolve by comparing the directories as strings, see code comments for details.