[hapi] Fix missing extension when omittingdefault extension