fix issue #8499 modelChoiceList call getPrimaryKey on a non object