basesdpendpoint: Check if an offer was generated before processing the answer

Change-Id: If2b72d584322d351266cfe767850d78e7717fd73