`get_package_path`: catch `IndexError` if latest file doesn't exist (bug 1029186)