CRM-14867: fix notice when lineitem doesn't have corresponding contribution id

CRM-14867: fix notice when lineitem doesn't have corresponding contribution id