Fix typo in get_transitive_dependencies.