Raise exception when get is called in an empty heap