def get_versions(existings):
    """
    Given gathered path, get all existing versions.
    """
    versions = set()
    for k, v in existings.items():
        versions = versions.union(v)
    return versions