In 2.0.0 migration, check to see if a parent item can be found before trying to generate metadata output.