Ensure that repository is also found for deleted resources