Fix bug in get_path, use the newer version of it.