Handle undefined contexts/artifacts/requirements in lockfiles