Correctly handle dsc resource import failures