Don't call Ecto.Model.put_primary_key/2 unless pk_field is valid