Correct moronic idiocy that caused failures when hugepages were absent.

Bug in 2fe20d0dceba53cffc80fd950222c1f3ff4cc2ee.
Huanchen Zhang report, thanks!