Remove reference to nonexistant function in pkg tests

This fixes a ref that was missed in 7984a8c.
Merge pull request #15323 from terminalmage/fix-arch-pkg-test

Remove reference to nonexistant function in pkg tests