Update EntityPopulator.php

[fix] undefined index warning protection