Refactor nixpkgs maintainers handling to be more DB-friendly.