added os.path.expanduser to the repo initialization