eval-release.nix: Tolerate null

This will allow tests.pkg-config.defaultPkgConfigPackages to run on
hydra without breaking the tarball job.

Regarding the use of null, I'll quote 473ac96 which does lib.hydraJob.

By allowing null, we allow code to avoid filterAttrs, improving
laziness in real world use cases.
Specifically, this strategy prevents infinite recursion errors,
performance issues and possibly other errors that are unrelated to
the user's code.

+1
+1
maintainers/scripts/eval-release.nix
··· 17 17 if (builtins.tryEval attrs.drvPath).success 18 18 then { inherit (attrs) name drvPath; } 19 19 else { failed = true; } 20 + else if attrs == null then {} 20 21 else { recurseForDerivations = true; } // 21 22 mapAttrs (n: v: let path' = path ++ [n]; in trace path' (recurse path' v)) attrs 22 23 else { };