pts-core: Fix whoops from previous commit