if repo['mountpoint'] \
                and not path.startswith(repo['mountpoint'] + os.path.sep):