Issue 518: Throw error when user registers entity type as returntype
without entityset