nixos/tests: Fix usage of head function without pkgs.lib
Merge pull request #3921 from wkennington/master.ipfix

nixos/tests: Fix usage of head function without pkgs.lib