hls: Fix crash introduced by last commit